
<template>
	<view>
		我是demo
		<mpNav @run="handleRun" address="西安"></mpNav>
	</view>
</template>

<script>
	import nav from "../../components/nav/nav.vue";
	export default {
		data() {
			return {
				
			}
		},
		components:{
			"mpNav":nav
		},
		methods: {
			handleRun(e){
				console.log(e,"我是父组件");
			}
			
		}
	}
</script>

<style>

</style>
